package com.example.common.enums;

/**
 * 星期枚举
 * 使用 final 字段符合 JDK 21 最佳实践
 */
public enum WeekEnum {

    MONDAY("星期一"),
    TUESDAY("星期二"),
    WEDNESDAY("星期三"),
    THURSDAY("星期四"),
    FRIDAY("星期五"),
    SATURDAY("星期六"),
    SUNDAY("星期日");

    public final String week;

    WeekEnum(String week) {
        this.week = week;
    }

    public String getWeek() {
        return week;
    }
}
